package com.mmall.product.mapper;

import com.mmall.pojo.entity.BrandEntity;
import org.apache.ibatis.annotations.Mapper;

/**
 * Created by Mybatis Generator 2019/05/05
 */
@Mapper
public interface BrandMapper {

    /**
     * 选择插入
     *
     * @param record BrandEntity
     * @return int
     */
    int insertSelective(BrandEntity record);

    /**
     * 主键查询
     *
     * @param id 主键
     * @return BrandEntity
     */
    BrandEntity selectByPrimaryKey(Long id);

    /**
     * 主键更新
     *
     * @param record BrandEntity
     * @return int
     */
    int updateByPrimaryKeySelective(BrandEntity record);

}